package org.example.config;

import lombok.Data;

import java.io.Serializable;
import java.security.Principal;

@Data
public class MyPrinciple implements Principal, Serializable {
    private static final long serialVersionUID = 6005396034013468595L;
    String name ;
    int userId;
    @Override
    public String getName() {
        return name;
    }


}
